package com.thesis.service;

import com.github.pagehelper.Page;
import com.thesis.entity.SysNotice;

import java.util.List;

/**
 * Created by Anvy at 2020/4/17.
 */
public interface NoticeService {
    int deleteByPrimaryKey(Long id);

    int insert(SysNotice record);

    int insertSelective(SysNotice record);

    SysNotice selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(SysNotice record);

    int updateByPrimaryKeyWithBLOBs(SysNotice record);

    int updateByPrimaryKey(SysNotice record);
    Page<SysNotice> findPageList(SysNotice record);

    Page<SysNotice> findPageListByVague(SysNotice queryParam, String vagueParam);

    Integer deleteBatchByIds(List<Integer> idList);
}
